<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" 	prefix="s"%>
<%@ include file="/jsp/common/common_head.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>示界港管理平台</title>
<%@ include file="/jsp/common/common_script.jsp"%>
<style type="text/css">
</style>
<script type="text/javascript">
 var g_userId = '<%=session.getAttribute("userId")%>';
</script>
<style type="text/css">
	span{
		font-size: 13px;
		color: blue;
		font-family:'Arial';
	}
	.btnCla {
    background-color: #607B8B;
    border: none;
    color: white;
    padding: 9px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 1px 2px;
    cursor: pointer;
    border-radius: 12px;
	}
	.button2:hover {
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
	}
	h4 {
	margin: 2;
	padding-left: 40px;
	}
</style>
</head>
<body>

<h3 style="color:blue">【一键秀__缓存管理】</h3>
<h4>操作步骤：</h4>
<h4>1.如需要上架模板,点击【更新缓存】按钮</h4>
<h4>2.更新缓存完成,如果APP数据无变化,再点一下【清除缓存】按钮,清除APP缓存数据。</h4>
<s:hidden id="hiPar" value="aad9b3a1558afb6277f211d92c1c311f"></s:hidden>
<div id="table6" style="padding-left: 40px;">
	<table class="queryTable" >
		<tr>
			<td class="queryTitle" width="230px" align="left">
			<span>更新缓存[APP首页数据显示]</span></td>
			<td class="queryContent" style="width: 140px;" align="center">
				<input type="button" class="btnCla button2" id="btn6" value="更新缓存" /> 
			</td>
		</tr>
		<tr>
			<td class="queryTitle" width="230px" align="left">
			<span>清除【首页和接口】缓存</span></td>
			<td class="queryContent" style="width: 140px;" align="center">
				<input type="button" class="btnCla button2" id="btn2" value="清除缓存" /> 
			</td>
			<td width="120px" align="center">
			<a href="#" title="更新完成,点击该按钮!清除接口缓存"
			 class="easyui-tooltip" style="color:red;">＊注意事项</a></td>
		</tr>
	</table>
</div>
<hr/>

<div id="table8" style="display: none;padding-left: 40px;">
	<table class="queryTable" >
		<tr>
			<td class="queryTitle" width="230px" align="left">
			<span>更新宕机线下DB缓存</span></td>
			<td class="queryContent" style="width: 140px;" align="center">
				<input type="button" class="btnCla button2" id="btn3" value="更新宕机" /> 
			</td>
		</tr>
		<tr>
			<td class="queryTitle" width="230px" align="left">
			<span>切换主备缓存DB</span></td>
			<td class="queryContent" style="width: 140px;" align="center">
				<input type="button" class="btnCla button2" id="btn5" value="切换缓存" /> 
			</td>
		</tr>
		<tr>
			<td class="queryTitle" width="230px" align="left">
			<span>同步【线上和线下】缓存</span></td>
			<td class="queryContent" style="width: 140px;" align="center">
				<input type="button" class="btnCla button2" id="btn4" value="同步缓存" /> 
			</td>
		</tr>
	</table>
</div>


<script type="text/javascript" src="${ctx}/js/yjx/yjxSendMesBuildCache.js"></script>
<script type="text/javascript" src="${ctx}/js/encrypt/source/encrypted.js"></script>
</body>
</html>
